package com.cqc.paoclient.model;

import java.util.List;

/**
 * Created by cui on 2017/11/26.
 */

public class CodeModel {

    /**
     * incomplete_results : false
     * items : [{"click":438,"comments":0,"describe":"具有连续反馈动画的 Tab Layout 。","downvote":0,"id":8707,"pubDate":"3周以前","stow":7,"thumbnail":"http://jcodecraeer.oss-cn-shanghai.aliyuncs.com/image/codesample-1509985502145.gif?x-oss-process=style/codesample","title":"Dachshund-Tab-Layout","upvote":0,"url":"http://www.jcodecraeer.com/api/article_detail.php/","user":{"face":"http://www.jcodecraeer.com/uploads/userup/1/myface.png","id":1,"nickname":"泡在网上的日子"}},{"click":1043,"comments":1,"describe":"状态栏一体化，包括随着滑动渐变，透明状态栏，黑色字体的状态栏，兼容国产魅族、小米手机，其它手机使用标准模式。","downvote":0,"id":8706,"pubDate":"3周以前","stow":18,"thumbnail":"http://jcodecraeer.oss-cn-shanghai.aliyuncs.com/image/codesample-1509983866189.gif?x-oss-process=style/codesample","title":"StatusView","upvote":0,"url":"http://www.jcodecraeer.com/api/article_detail.php/","user":{"face":"http://www.jcodecraeer.com/uploads/userup/1/myface.png","id":1,"nickname":"泡在网上的日子"}},{"click":413,"comments":0,"describe":"Android BLE基础操作框架，基于回调，操作简单。包含扫描、多连接、广播包解析、服务读写及通知等功能。","downvote":0,"id":8705,"pubDate":"3周以前","stow":5,"thumbnail":"http://jcodecraeer.oss-cn-shanghai.aliyuncs.com/image/codesample-1509981963051.gif?x-oss-process=style/codesample","title":"BLE","upvote":0,"url":"http://www.jcodecraeer.com/api/article_detail.php/","user":{"face":"http://www.jcodecraeer.com/uploads/userup/1/myface.png","id":1,"nickname":"泡在网上的日子"}},{"click":233,"comments":0,"describe":"一个强大的颜色选择控件。","downvote":0,"id":8664,"pubDate":"4周以前","stow":4,"thumbnail":"http://jcodecraeer.oss-cn-shanghai.aliyuncs.com/image/codesample-1509438323787.gif?x-oss-process=style/codesample","title":"Multi-ColorPicker","upvote":0,"url":"http://www.jcodecraeer.com/api/article_detail.php/","user":{"face":"http://www.jcodecraeer.com/uploads/userup/1/myface.png","id":1,"nickname":"泡在网上的日子"}},{"click":749,"comments":0,"describe":"一个强大的弹出菜单","downvote":0,"id":8662,"pubDate":"4周以前","stow":15,"thumbnail":"http://jcodecraeer.oss-cn-shanghai.aliyuncs.com/image/codesample-1509436807110.gif?x-oss-process=style/codesample","title":"PowerMenu","upvote":0,"url":"http://www.jcodecraeer.com/api/article_detail.php/","user":{"face":"http://www.jcodecraeer.com/uploads/userup/1/myface.png","id":1,"nickname":"泡在网上的日子"}},{"click":785,"comments":0,"describe":"使用 SVGAPlayer 在 Android、iOS、Web中播放 After Effects / Animate CC (Flash) 动画。","downvote":0,"id":8660,"pubDate":"4周以前","stow":5,"thumbnail":"http://jcodecraeer.oss-cn-shanghai.aliyuncs.com/image/codesample-1509430135278.gif?x-oss-process=style/codesample","title":"SVGAPlayer-Android","upvote":0,"url":"http://www.jcodecraeer.com/api/article_detail.php/","user":{"face":"http://www.jcodecraeer.com/uploads/userup/1/myface.png","id":1,"nickname":"泡在网上的日子"}}]
     * total_count : 1569
     */

    private boolean incomplete_results;
    private int total_count;
    private List<ItemsBean> items;

    public boolean isIncomplete_results() {
        return incomplete_results;
    }

    public void setIncomplete_results(boolean incomplete_results) {
        this.incomplete_results = incomplete_results;
    }

    public int getTotal_count() {
        return total_count;
    }

    public void setTotal_count(int total_count) {
        this.total_count = total_count;
    }

    public List<ItemsBean> getItems() {
        return items;
    }

    public void setItems(List<ItemsBean> items) {
        this.items = items;
    }

    public static class ItemsBean {
        /**
         * click : 438
         * comments : 0
         * describe : 具有连续反馈动画的 Tab Layout 。
         * downvote : 0
         * id : 8707
         * pubDate : 3周以前
         * stow : 7
         * thumbnail : http://jcodecraeer.oss-cn-shanghai.aliyuncs.com/image/codesample-1509985502145.gif?x-oss-process=style/codesample
         * title : Dachshund-Tab-Layout
         * upvote : 0
         * url : http://www.jcodecraeer.com/api/article_detail.php/
         * user : {"face":"http://www.jcodecraeer.com/uploads/userup/1/myface.png","id":1,"nickname":"泡在网上的日子"}
         */

        private int click;
        private int comments;
        private String describe;
        private int downvote;
        private int id;
        private String pubDate;
        private int stow;
        private String thumbnail;
        private String title;
        private int upvote;
        private String url;
        private UserBean user;

        public int getClick() {
            return click;
        }

        public void setClick(int click) {
            this.click = click;
        }

        public int getComments() {
            return comments;
        }

        public void setComments(int comments) {
            this.comments = comments;
        }

        public String getDescribe() {
            return describe;
        }

        public void setDescribe(String describe) {
            this.describe = describe;
        }

        public int getDownvote() {
            return downvote;
        }

        public void setDownvote(int downvote) {
            this.downvote = downvote;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getPubDate() {
            return pubDate;
        }

        public void setPubDate(String pubDate) {
            this.pubDate = pubDate;
        }

        public int getStow() {
            return stow;
        }

        public void setStow(int stow) {
            this.stow = stow;
        }

        public String getThumbnail() {
            return thumbnail;
        }

        public void setThumbnail(String thumbnail) {
            this.thumbnail = thumbnail;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getUpvote() {
            return upvote;
        }

        public void setUpvote(int upvote) {
            this.upvote = upvote;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public UserBean getUser() {
            return user;
        }

        public void setUser(UserBean user) {
            this.user = user;
        }

        public static class UserBean {
            /**
             * face : http://www.jcodecraeer.com/uploads/userup/1/myface.png
             * id : 1
             * nickname : 泡在网上的日子
             */

            private String face;
            private int id;
            private String nickname;

            public String getFace() {
                return face;
            }

            public void setFace(String face) {
                this.face = face;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }
        }
    }
}
